using System;

namespace WPFServices.Models.Domain
{
    public class WorkOrderDto
    {
        public int Id { get; set; }
        public string OrderNumber { get; set; }
        public string OrderName { get; set; }
        public int PlanId { get; set; }
        public string OrderProgress { get; set; }
        public string PlannName { get; set; }
        public string ProductName { get; set; }
        public string ProductNumber { get; set; }
        public string SpecificationModel { get; set; }
        public string FinishedProduceType { get; set; }
        public string Unit { get; set; }
        public DateTime NeedTime { get; set; }
        public int PlanNums { get; set; }
        public int FactProduceNums { get; set; }
        public DateTime PlanStartTime { get; set; }
        public DateTime PlanEndTime { get; set; }
        public DateTime? FactStartTime { get; set; }
        public DateTime? FactFinishTime { get; set; }
        public int Status { get; set; }
    }

    public class SearchWorkOrderDto: PageModel
    {
        public string OrderNumber { get; set; }
        public string OrderName { get; set; }
        public string PlanName { get; set; }
        public string ProductName { get; set; }
        public int? Status { get; set; }
    }
} 